import { StateType } from "./StateType";

export function isinitialized(states: StateType) {
    const { cachetitle } = states;
    return (
        states.menulist.length &&
        states.catalogue.length &&
        // cachemain.get(summaryfile) &&
        [...cachetitle.keys()].length
    );
}
